When switching to another user, wait until authPrompt is destroyed
and the clock transition animation completes before switching to
the login session VT.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4306>
(cherry picked from commit
5f7eb76031dc795a593e859566f519a458a81698)
}
_otherUserClicked() {
- Gdm.goto_login_session_sync(null);
-
+ this._authPrompt.connect('destroy', () => Gdm.goto_login_session_sync(null));
this._authPrompt.cancel();
}